package com.cn.data.thread.lock;


import java.util.concurrent.locks.ReentrantLock;

/**
 * @Author: chenl
 * @Date: 2019/11/25 22:39
 */
public class ReentrantLockTest {
    static ReentrantLock lock = new ReentrantLock();

    public static void main(String[] args) {

        lock.lock();

        System.out.println("老婆大大");

        lock.unlock();
    }

}
